PUT api/du/{authenticationToken}/{loanKey}
This method will update the specified loan with the data in the DU 3.2 or 3.4 file.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
authenticationToken |
Current authentication token |
string |
Required |
loanKey |
The loan key string identifying the loan to be updated. |
string |
Required |
Body Parameters
This an object who's only property is "Data". This "Data" property is the DU 3.2 or 3.4 import file that will be used to update an existing loan.
DUModelName | Description | Type | Additional information |
---|---|---|---|
Data |
This is the import/export data represented as a string. |
string |
None. |
ChannelKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Data": "sample string 1", "ChannelKey": "sample string 2" }
application/xml, text/xml
Sample:
<DUModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EpicAPI.Models"> <ChannelKey>sample string 2</ChannelKey> <Data>sample string 1</Data> </DUModel>
application/x-www-form-urlencoded
Sample:
Data=value&ChannelKey=value
Response Information
Resource Description
On success, the "OK" status will be returned along with the original loan key. If an error occurs, an error status will be returned along with the error message.
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |